package com.coocaa.ops.admin.v1.auth.sys.biz;

import com.coocaa.ops.admin.v1.auth.sys.mapper.ISysMenuMapper;
import com.coocaa.ops.common.core.base.IBaseBiz;
import com.coocaa.ops.common.core.biz.auth.entity.SysMenuEntity;

/**
 * @author bijiahao
 * @date : 2019/3/11.
 * @description
 */
public interface ISysMenuBiz extends IBaseBiz<ISysMenuMapper, SysMenuEntity> {
    /**
     * 通过属性查询菜单ID
     *
     * @param categories
     * @return
     */
    Integer getMenuIdByCategory(String[] categories);

    /**
     * 通过属性查询菜单名称
     * @param categories
     * @return
     */
    String getMenuNameByByCategory(String[] categories);

    /**
     * 通过菜单标识查询菜单信息
     * @param menuToken
     * @return
     */
    SysMenuEntity getMenuByToken(String menuToken);
}
